package com.gaoyi.crm.db.query;

public class BaseQuery {

    private String code;
    private String name;
    private String userGpPowerIds;
    private String userGpProjPowerIds;
    private String userGpPmnPowerIds;
    private String groupId;
    private Boolean isPage;
    private String keyWord;
    private int pageIndex;
    private int pageSize;
    private String sort;

    public void init() {
        this.pageIndex = 1;
        this.pageSize = 10;
        this.isPage = true;
    }

    public Boolean getPage() {
        return isPage;
    }

    public void setPage(Boolean page) {
        isPage = page;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserGpPowerIds() {
        return userGpPowerIds;
    }

    public void setUserGpPowerIds(String userGpPowerIds) {
        this.userGpPowerIds = userGpPowerIds;
    }

    public String getUserGpProjPowerIds() {
        return userGpProjPowerIds;
    }

    public void setUserGpProjPowerIds(String userGpProjPowerIds) {
        this.userGpProjPowerIds = userGpProjPowerIds;
    }

    public String getUserGpPmnPowerIds() {
        return userGpPmnPowerIds;
    }

    public void setUserGpPmnPowerIds(String userGpPmnPowerIds) {
        this.userGpPmnPowerIds = userGpPmnPowerIds;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }
}
